// eslint-disable-next-line unicorn/prefer-module
module.exports = {
    plugins: {
        "postcss-px-to-viewport-8-plugin": {
            // 设计稿的视口宽度
            viewportWidth: (file) =>
                file.includes("node_modules/vant/") ? 375 : 375,
            // viewportWidth: 430,
            // 下面配置表示类名中含有'keep-px'以及'.ignore'类都不会被转换
            selectorBlackList: [".ignore", "keep-px"],
        },
    },
};